package top.infopub.mgc.core.domain;


import top.infopub.generic.GenericEntity;
import freemarker.template.Template;


/**
 * 模板相关信息 
 * @author Awoke
 * @version 2018年11月6日
 * @see TemplateInfo
 * @since
 */
public class TemplateInfo extends GenericEntity {

    private static final long serialVersionUID = -7794981084430355204L;

    private String id;

    private String tempMainCode;

    private String tempTypeCode;

    private String timeout;

    private String templateContent;

    private Integer sendCountLimit;

    private Integer sendUsercountLimit;

    private Integer realtime;

    private String spartnerName;

    private String spartnerAccName;

    private String spartnerAccpassword;

    /** 供应商类型  1=短信 2=邮箱 **/
    private Integer spartnerType;

    private String templateTitle;

    private String spartnerExtinfo;

    private String spartnerId;

    private Template templateObj;

    public Template getTemplateObj() {
        return templateObj;
    }

    public void setTemplateObj(Template templateObj) {
        this.templateObj = templateObj;
    }

    public String getSpartnerId() {
        return spartnerId;
    }

    public void setSpartnerId(String spartnerId) {
        this.spartnerId = spartnerId;
    }

    /** 供应商类型  1=短信 2=邮箱 **/
    public Integer getSpartnerType() {
        return spartnerType;
    }

    public void setSpartnerType(Integer spartnerType) {
        this.spartnerType = spartnerType;
    }

    public String getTempTypeCode() {
        return tempTypeCode;
    }

    public void setTempTypeCode(String tempTypeCode) {
        this.tempTypeCode = tempTypeCode;
    }

    public String getTempMainCode() {
        return tempMainCode;
    }

    public void setTempMainCode(String tempMainCode) {
        this.tempMainCode = tempMainCode;
    }

    public String getTimeout() {
        return timeout;
    }

    public void setTimeout(String timeout) {
        this.timeout = timeout;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTemplateContent() {
        return templateContent;
    }

    public void setTemplateContent(String templateContent) {
        this.templateContent = templateContent;
    }

    public Integer getSendCountLimit() {
        return sendCountLimit;
    }

    public void setSendCountLimit(Integer sendCountLimit) {
        this.sendCountLimit = sendCountLimit;
    }

    public Integer getSendUsercountLimit() {
        return sendUsercountLimit;
    }

    public void setSendUsercountLimit(Integer sendUsercountLimit) {
        this.sendUsercountLimit = sendUsercountLimit;
    }

    public Integer getRealtime() {
        return realtime;
    }

    public void setRealtime(Integer realtime) {
        this.realtime = realtime;
    }

    public String getSpartnerName() {
        return spartnerName;
    }

    public void setSpartnerName(String spartnerName) {
        this.spartnerName = spartnerName;
    }

    public String getSpartnerAccName() {
        return spartnerAccName;
    }

    public void setSpartnerAccName(String spartnerAccName) {
        this.spartnerAccName = spartnerAccName;
    }

    public String getSpartnerAccpassword() {
        return spartnerAccpassword;
    }

    public void setSpartnerAccpassword(String spartnerAccpassword) {
        this.spartnerAccpassword = spartnerAccpassword;
    }

    public String getTemplateTitle() {
        return templateTitle;
    }

    public void setTemplateTitle(String templateTitle) {
        this.templateTitle = templateTitle;
    }

    public String getSpartnerExtinfo() {
        return spartnerExtinfo;
    }

    public void setSpartnerExtinfo(String spartnerExtinfo) {
        this.spartnerExtinfo = spartnerExtinfo;
    }

}
